#!/bin/bash

# Cluster Fault Mock Server 启动脚本

echo "启动集群故障模拟器..."

# 设置默认参数
HOST=${1:-"localhost"}
PORT=${2:-"5005"}

echo "服务器地址: $HOST:$PORT"

# 启动CLI界面
python fault_cli.py --host "$HOST" --port "$PORT"
